/*
 * @features: 子包的逻辑基类
 * @description: 说明
 * @Date: 2021-10-11 22:41:43
 * @Author: judu233(769471424@qq.com)
 * @LastEditTime: 2021-10-14 09:51:51
 * @LastEditors: judu233
 */
import UIView from "../Asset/ui/UIView";
import { Macro } from "../Main/Macros";

export class Logic {
    /**logic bundle，管理器设置 */
    static bundle = Macro.UNKNOWN;
    /**logic bundle，管理器设置 */
    bundle: string = Macro.UNKNOWN;
    /**游戏视图 */
    protected gameView: UIView = null!;

    /**重置游戏逻辑 */
    reset(gameView: UIView) { }
    onLoad(gameView: UIView): void {
        this.gameView = gameView;
    }
    update(dt: number): void { }
    onDestroy(): void { }
}